/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.notice.entity;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 平台公告Entity
 * 
 * @author freedom
 * @version 2020-08-24
 */
public class Notice extends DataEntity<Notice> {

	private static final long serialVersionUID = 1L;
	private String name; // 标题
	private String context; // 内容
	private String istop; // 是否置顶
	private String img;   //图片

	public Notice() {
		super();
	}

	public Notice(String id) {
		super(id);
	}

	@ExcelField(title = "标题", align = 2, sort = 1)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@ExcelField(title = "内容", align = 2, sort = 2)
	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	@ExcelField(title = "是否置顶", dictType = "yes_no", align = 2, sort = 3)
	public String getIstop() {
		return istop;
	}

	public void setIstop(String istop) {
		this.istop = istop;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}
}